package com.bailugansan.efficiencyboard.constant;

/**
 * @author BailuGansan
 */
public class Constant {
    public enum SignKey {
        SIGN_KEY("goskeleton");

        private String key;
        SignKey(String key) {
            this.key = key;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }
    }

    public enum JwtToken {
        JWT_TOKEN_OK(200100), JWT_TOKEN_EXPIRED(-400101);

        private int code;
        JwtToken(int code) {this.code = code;}

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
}
